package com.zy.batiya.domain;

import java.util.Date;

/**
 * 用户实体
 * 对应mysql中user表
 * */
/**
 * @author zhangyi
 *
 */
public class User {

	private Integer id;
	
	private String name;//登陆名
	
	private String password;
	
	private String alias;//中文名
	
	private String email;
	
	private String phone;
	
	private Date createTime;
	
	private Date updateTime;
	
	/*** 股票业务 部分***/
	private String company;//券商
	
	private String account;//券商账户
	
	private Integer type;//用户类型 1 大投入用户 2 小投入用户
	
	private Double totalProperty;//总资产
	
	private Double principal;//本金
	
	private Double cash;//现金
	
	private String beizhu;//备注
		
	public String getBeizhu() {
    return beizhu;
  }

  public void setBeizhu(String beizhu) {
    this.beizhu = beizhu;
  }

  public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getAlias() {
		return alias;
	}

	public void setAlias(String alias) {
		this.alias = alias;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public Double getTotalProperty() {
		return totalProperty;
	}

	public void setTotalProperty(Double totalProperty) {
		this.totalProperty = totalProperty;
	}

	public Double getPrincipal() {
		return principal;
	}

	public void setPrincipal(Double principal) {
		this.principal = principal;
	}

	public Double getCash() {
		return cash;
	}

	public void setCash(Double cash) {
		this.cash = cash;
	}

	public String getCompany() {
		return company;
	}

	public void setCompany(String company) {
		this.company = company;
	}

	public String getAccount() {
		return account;
	}

	public void setAccount(String account) {
		this.account = account;
	}
		
}
